package dto

import "time"

type FoodOrder struct{
	Id int64 `json:"id,string"`
	FoodId int64 `xorm:"foodId" json:"foodId,string"`
	Count int32 `json:"count"`
	Status int16 `json:"status"`
	Name string `json:"name"`
	Price float64 `json:"price"`
	CreateTime time.Time `xorm:"createTime" json:"createTime"`
	UnitId int16
	Unit string `json:"unit"`
	DeskOrderId int64 `xorm:"deskOrderId" json:"deskOrderId,string"`
}

type ChangeOrderStatusDto struct {
	Id int64 `json:"id,string"`
	Status int16 `json:"status"`
}